package com.shanshi.activity.response;


/**
 * Created by scx on 2017/3/20.
 */

public class BillDetail {
    private String message;
    private Data data;
    private int code;
    public void setMessage(String message) {
        this.message = message;
    }
    public String getMessage() {
        return message;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public void setCode(int code) {
        this.code = code;
    }
    public int getCode() {
        return code;
    }

    @Override
    public String toString() {
        return "Bills{" +
                "message='" + message + '\'' +
                ", data=" + data +
                ", code=" + code +
                '}';
    }

    public class Data {

        private int type; //交易类型：0=购物，1=充值，2=退款，3=提现
        private int tradeType; //交易方式（1：支付宝；2:微信；3：现金;4:刷vip卡；5：账户余额）
        private String shopName; //交易店铺的名称
        private String time; //交易时间
        private float money; //交易金额
        private String orderNum; //交易单号

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getTradeType() {
            return tradeType;
        }

        public void setTradeType(int tradeType) {
            this.tradeType = tradeType;
        }

        public String getShopName() {
            return shopName;
        }

        public void setShopName(String shopName) {
            this.shopName = shopName;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public float getMoney() {
            return money;
        }

        public void setMoney(float money) {
            this.money = money;
        }

        public String getOrderNum() {
            return orderNum;
        }

        public void setOrderNum(String orderNum) {
            this.orderNum = orderNum;
        }

        @Override
        public String toString() {
            return "Data{" +
                    "type=" + type +
                    ", tradeType=" + tradeType +
                    ", shopName='" + shopName + '\'' +
                    ", time='" + time + '\'' +
                    ", money=" + money +
                    ", orderNum='" + orderNum + '\'' +
                    '}';
        }
    }
}
